package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName lcd_info
 */
@TableName(value ="lcd_info")
public class LcdInfo implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Object id;

    /**
     * 
     */
    private String productmodel;

    /**
     * 
     */
    private String resolution;

    /**
     * 
     */
    private String technology;

    /**
     * 
     */
    private String refreshrate;

    /**
     * 
     */
    private String colorgamut;

    /**
     * 
     */
    private String angleview;

    /**
     * 
     */
    private String contrastratio;

    /**
     * 
     */
    private String productidcode;

    /**
     * 
     */
    private String productname;

    /**
     * 
     */
    private String base64;

    /**
     * 
     */
    private String productprice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Object getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Object id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getProductmodel() {
        return productmodel;
    }

    /**
     * 
     */
    public void setProductmodel(String productmodel) {
        this.productmodel = productmodel;
    }

    /**
     * 
     */
    public String getResolution() {
        return resolution;
    }

    /**
     * 
     */
    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    /**
     * 
     */
    public String getTechnology() {
        return technology;
    }

    /**
     * 
     */
    public void setTechnology(String technology) {
        this.technology = technology;
    }

    /**
     * 
     */
    public String getRefreshrate() {
        return refreshrate;
    }

    /**
     * 
     */
    public void setRefreshrate(String refreshrate) {
        this.refreshrate = refreshrate;
    }

    /**
     * 
     */
    public String getColorgamut() {
        return colorgamut;
    }

    /**
     * 
     */
    public void setColorgamut(String colorgamut) {
        this.colorgamut = colorgamut;
    }

    /**
     * 
     */
    public String getAngleview() {
        return angleview;
    }

    /**
     * 
     */
    public void setAngleview(String angleview) {
        this.angleview = angleview;
    }

    /**
     * 
     */
    public String getContrastratio() {
        return contrastratio;
    }

    /**
     * 
     */
    public void setContrastratio(String contrastratio) {
        this.contrastratio = contrastratio;
    }

    /**
     * 
     */
    public String getProductidcode() {
        return productidcode;
    }

    /**
     * 
     */
    public void setProductidcode(String productidcode) {
        this.productidcode = productidcode;
    }

    /**
     * 
     */
    public String getProductname() {
        return productname;
    }

    /**
     * 
     */
    public void setProductname(String productname) {
        this.productname = productname;
    }

    /**
     * 
     */
    public String getBase64() {
        return base64;
    }

    /**
     * 
     */
    public void setBase64(String base64) {
        this.base64 = base64;
    }

    /**
     * 
     */
    public String getProductprice() {
        return productprice;
    }

    /**
     * 
     */
    public void setProductprice(String productprice) {
        this.productprice = productprice;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LcdInfo other = (LcdInfo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getProductmodel() == null ? other.getProductmodel() == null : this.getProductmodel().equals(other.getProductmodel()))
            && (this.getResolution() == null ? other.getResolution() == null : this.getResolution().equals(other.getResolution()))
            && (this.getTechnology() == null ? other.getTechnology() == null : this.getTechnology().equals(other.getTechnology()))
            && (this.getRefreshrate() == null ? other.getRefreshrate() == null : this.getRefreshrate().equals(other.getRefreshrate()))
            && (this.getColorgamut() == null ? other.getColorgamut() == null : this.getColorgamut().equals(other.getColorgamut()))
            && (this.getAngleview() == null ? other.getAngleview() == null : this.getAngleview().equals(other.getAngleview()))
            && (this.getContrastratio() == null ? other.getContrastratio() == null : this.getContrastratio().equals(other.getContrastratio()))
            && (this.getProductidcode() == null ? other.getProductidcode() == null : this.getProductidcode().equals(other.getProductidcode()))
            && (this.getProductname() == null ? other.getProductname() == null : this.getProductname().equals(other.getProductname()))
            && (this.getBase64() == null ? other.getBase64() == null : this.getBase64().equals(other.getBase64()))
            && (this.getProductprice() == null ? other.getProductprice() == null : this.getProductprice().equals(other.getProductprice()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getProductmodel() == null) ? 0 : getProductmodel().hashCode());
        result = prime * result + ((getResolution() == null) ? 0 : getResolution().hashCode());
        result = prime * result + ((getTechnology() == null) ? 0 : getTechnology().hashCode());
        result = prime * result + ((getRefreshrate() == null) ? 0 : getRefreshrate().hashCode());
        result = prime * result + ((getColorgamut() == null) ? 0 : getColorgamut().hashCode());
        result = prime * result + ((getAngleview() == null) ? 0 : getAngleview().hashCode());
        result = prime * result + ((getContrastratio() == null) ? 0 : getContrastratio().hashCode());
        result = prime * result + ((getProductidcode() == null) ? 0 : getProductidcode().hashCode());
        result = prime * result + ((getProductname() == null) ? 0 : getProductname().hashCode());
        result = prime * result + ((getBase64() == null) ? 0 : getBase64().hashCode());
        result = prime * result + ((getProductprice() == null) ? 0 : getProductprice().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productmodel=").append(productmodel);
        sb.append(", resolution=").append(resolution);
        sb.append(", technology=").append(technology);
        sb.append(", refreshrate=").append(refreshrate);
        sb.append(", colorgamut=").append(colorgamut);
        sb.append(", angleview=").append(angleview);
        sb.append(", contrastratio=").append(contrastratio);
        sb.append(", productidcode=").append(productidcode);
        sb.append(", productname=").append(productname);
        sb.append(", base64=").append(base64);
        sb.append(", productprice=").append(productprice);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}